home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
indus
/
dentl40a
/
install3.bat
< prev
next >
Wrap
DOS Batch File
|
1992-04-20
|
1KB
|
64 lines
Echo off
IF NOT EXIST INPUT.COM GOTO WRONGDR
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO3
:FLOPINS
ECHO OFF
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
ECHO This floppy installation requires that you enter either a '1' or a '2',
ECHO following your 'GO F' instruction.
GOTO END
:FLOPINS2
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
ECHO [it should still be in Drive A]
PAUSE
%3
B:PKUNZIP -X B:DENTL-C4.ZIP PROGRAM.OVL
B:PKUNZIP -X B:DENTL-C4.ZIP *.FRM
CLS
ECHO Enter disk 3, SALESDOC, into drive A now.
PAUSE
%3
B:PKUNZIP -X B:DENTL-D4.ZIP SALESDOC
GOTO FLOPDOC
:FLOPDOC
CLS
GOTO END
:FLOPINS1
ECHO Beginning with version 3.0 of this program, the executable files have
ECHO become so large that the low density option of 360KB is no longer supported.
GOTO END
:HARDINS1
CLS
%2:
CD \
CD DENTIST.ACS
COPY %3DENTL-D4.EXE >TMP
DENTL-D4
DEL DENTL-D4.EXE
COPY GO-%2.BAT GO.BAT
COPY %3YESNO.COM >TMP
COPY %3ECOH.COM >TMP
CLS
%3
CLS
INSTALL4 H %2 %3
GOTO END
:WRONGDR
CLS
echo
echo
ECHO Though nothing could be simpler than this install procedure, it does
echo require that you enter the drive name, such as 'A:' or 'B:', followed
echo by the 'Enter' key. After that, please enter 'GO' again.
echo
GOTO END
:END
echo